#ifndef __LOGIN_REGISTER__
#define __LOGIN_REGISTER__
#include "threadPool.h"
#include <openssl/evp.h>

int user_login(int netfd, MYSQL* mysql, threadPool_t *pthreadPool, UsrInfo_t *UsrInfo); // 用户登录
int user_register(int netfd, MYSQL* mysql, threadPool_t *pthreadPool, UsrInfo_t *UsrInfo); // 用户注册
int generate_salt(char *salt, int salt_size);

#endif